﻿namespace FasadPattern.FileWorker
{
    using System;

    public class MessageBuilder
    {
        #region Constructors

        /// <summary>
        /// Initializes new MessageBuilder object
        /// </summary>
        /// <param name="jsonFormatString">String in JSON format</param>
        public MessageBuilder(string jsonFormatString)
        {
            m_jsonFormatString = jsonFormatString;
        }

        #endregion

        #region Public Logic

        /// <summary>
        /// Makes a message
        /// </summary>
        public string BuildMessage()
        {
            return m_jsonFormatString;
        }
        #endregion

        #region Private Fields

        /// <summary>
        /// String in JSON format
        /// </summary>
        private string m_jsonFormatString;

        #endregion
    }
}
